package com.lzw.breezeNovel.model.entity.pojo.video;

import com.lzw.breezeNovel.model.entity.query.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.entity.pojo
 * @date 2025/3/15
 * @description 播放记录实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class PlayRecord extends BaseQuery {

    @Schema(description = "播放记录ID，主键，自增")
    private Long recordId;

    @Schema(description = "用户的ID，外键关联用户表")
    private Long userId;

    @Schema(description = "关联的电影ID，外键关联电影表")
    private Long movieId;

    @Schema(description = "关联的电视剧ID，外键关联电视剧表")
    private Long seriesId;

    @Schema(description = "关联的动漫ID，外键关联动漫表")
    private Long animeId;

    @Schema(description = "关联的短视频ID，外键关联短视频表")
    private Long shortVideoId;

    @Schema(description = "播放时间，默认为当前时间")
    private Date playTime;

    @Schema(description = "播放时长，单位为秒")
    private Long playDuration;

    @Schema(description = "那一集")
    private Long episodeId;


}